package com.woniuxy.third.service;

import com.woniuxy.third.entity.User;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @Author: yangtao
 * @date 2021/7/14 15:08
 * @Version 1.0
 */
public interface UserService {

    public User findByAccount(String account);

    public User findById(int id);

    int updateBalance(int id,BigDecimal subtract);

    boolean updateUser(User user);

    boolean delMyCourseByUidCid(int uid,int cid);

    boolean delMyCollectionByUidCid(int uid, int cid);

}
